package com.admin.core.entity;

import com.admin.common.entity.BaseEntity;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import javax.validation.constraints.NotBlank;
import java.io.Serializable;

/**
 * @author sq-lan
 **/
@EqualsAndHashCode(callSuper = true)
@Data
public class SysParamConfig extends BaseEntity implements Serializable {

    @ApiModelProperty(value = "主键")
    private Integer id;

    @NotBlank
    @ApiModelProperty(value = "参数名称")
    private String name;

    @NotBlank
    @ApiModelProperty(value = "参数键名")
    private String code;

    @NotBlank
    @ApiModelProperty(value = "参数键值")
    private String value;

    @ApiModelProperty(value = "系统内置（Y是 N否）")
    private String type;

    @ApiModelProperty(value = "备注")
    private String remark;

}
